//index.js
//获取应用实例
const app = getApp()

Page({
  data: {
    
  },
  //事件处理函数
  addWechat: function(){
    wx.previewImage({
      urls: ["https://746f-todolist-001-1301530080.tcb.qcloud.la/my-wechat.jpg?sign=3972d3d84f4c43b78313b2b457fa2eda&t=1589077880"]
    });
  },
  addPhoneContact: function(){
    wx.addPhoneContact({
      firstName:"郭树亚",
      mobilePhoneNumber:"15230186391",
      email: "guoshuya.work@foxmail.com"
    });
  },
  makePhoneCall: function(){
      wx.makePhoneCall({
        phoneNumber: "15230186391"
      });
  },
    onShow: function () {
      wx.showShareMenu();
  }
})
